-- GENERATED SPELL FOR [Night Web Spider] --


function spell0_1505(pUnit, Event) --@Weak Poison,n/a--
pUnit:FullCastSpellOnTarget(6751,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_1505', 12000, 1)
end

function Sorts_1505(pUnit, Event)
local choix_sorts_1505 = math.random(0, 0)
if choix_sorts_1505 == 0 then
pUnit:RegisterEvent('spell0_1505', 1, 1)
end
end

function mob1505_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_1505', math.random(1500, 3000), 1)
end

function mob1505_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1505_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1505_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(1505, 1, 'mob1505_Action')
RegisterUnitEvent(1505, 2, 'mob1505_Leave')
RegisterUnitEvent(1505, 3, 'mob1505_Kill')
RegisterUnitEvent(1505, 4, 'mob1505_Die')
